﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
     <title>枚举字段属性</title>
    <script type="text/javascript" src="../../Scripts/bootstrap/js/jquery.min.js"></script>
    <script type="text/javascript" src="../../Scripts/bootstrap/js/bootstrap.min.js"></script>
    <script src="../../Scripts/QueryString.js" type="text/javascript"></script>
    <script src="../../Scripts/config.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript" >
        /* ESC Key Down */
        function Esc() {
            if (event.keyCode == 27)
                window.close();
            return true;
        }
      
        //页面启动函数.
        $(function () {

            $("#Msg").html("<img src=../../Img/loading.gif />&nbsp;正在加载,请稍后......");    
            var paras = window.location.search;

            //初始化 GroupID.
            $.ajax({
                type: 'post',
                async: true,
                url: Handler + paras,
                dataType: 'html',
                success: function (data) {

                    if (data == null || data == "") {
                        window.close();
                        return;
                    }

                    if (data.indexOf('err@') == 0) {

                        $("#Msg").html(data);
                        return;
                    }

                    if (data.indexOf('url@') == 0) {
                        var url = data.replace('url@', '');
                        window.location.href = url;
                        //$("#Msg").html(data);
                        return;
                    }

                    // alert(data);
                    //data = JSON.parse(data);
                }
            });

            $("#Msg").html("");

        });
    </script>

</head>
<body>
 
         
         <div id="Msg"></div>

</body>
</html>
